factor
{base}
Create a factor
var
{stats}
Calculate variance
lprop
{questionr}
Display row percentages of a two-way frequency table
freq
{questionr}
Generate frequency tables
hist
{graphics}
Plot a simple histogram
geom_bar
{GGPLOT2}
Generates a bar chart
install.packages
{base}
Install R package
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
ungroup
{dplyr}
Resolve grouping created with “group_by”
filter
{dplyr}
Filter out rows of a data frame according to logical vector
ordered
{dplyr}
Create an ordered factor
summarise
{dplyr}
collapse the dataset to a summary statistic. Usually used with group_by()
boxplot
{graphics}
Plot a simple box plot
geom_histogram
{GGPLOT2}
Generates a histogram
seq
{base}
Create a sequence
pie
{graphics}
Creates a basic pie chart
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
select
{dplyr}
Select columns from a tibble/data frame
median
{stats}
Get median of a vector
is.na
{base}
Check if a value is NA/elements of vector are NA
min
{base}
Get minimum of a vector
range
{base}
Return range of values
mutate
{dplyr}
Modify/create a column in a data frame
ggplot
{GGPLOT2}
Create a ggplot graph
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
sum
{base}
Get sum of numeric values or a vector
slice
{dplyr}
Subset rows using their positions
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
labs
{GGPLOT2}
Customise labels in GGPLOT2
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
summary
{base}
Obtain summary statistics or detailed regression output
max
{base}
Get maximum of a vector
read_excel
{readxl}
Read an Excel file
cut
{base}
Convert Numeric to Factor
rm
{base}
Remove objects
recode
{dplyr}
Recode a variable
levels
{base}
Get levels of a factor
desc
{dplyr}
Arrange in descending order
The end!